/**
 * Created by Administrator on 2018/3/20 0020.
 */
var router = require('koa-router')();
//引入模块

var login=require('./admin/login.js');

var user=require('./admin/user.js');

router.get('/',async (ctx)=>{

    ctx.body="后台管理";

})

router.use('/login',login);
router.use('/user',user);




module.exports=router.routes();